#include "ProgramLines.h"

std::string &ProgramLines::operator[](unsigned int programLineNumber) {
	if (programLineNumber >= data.size()) {
		throw ExceptionMaxProgramLineExceeded();
	}
	return data.at(programLineNumber);
}